package com.hsource.doctorcenter.domain.version;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.hsource.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * apk版本信息对象 xy_apk_version
 *
 * @author yangyang
 * @date 2020-10-28
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ApkVersion extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private String id;

    /**
     *
     */
    private String apkversion;

    /**
     *
     */
    private Integer compel;

    /**
     *
     */
    private String updatecontent;

    /**
     *
     */
    private String updateurl;

    /**
     *
     */
    private String apkurl;

    /**
     *
     */
    private Long checkhour;

    /**
     *
     */
    private Integer channel;

    private String status;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setApkversion(String apkversion) {
        this.apkversion = apkversion;
    }

    public String getApkversion() {
        return apkversion;
    }

    public void setCompel(Integer compel) {
        this.compel = compel;
    }

    public Integer getCompel() {
        return compel;
    }

    public void setUpdatecontent(String updatecontent) {
        this.updatecontent = updatecontent;
    }

    public String getUpdatecontent() {
        return updatecontent;
    }

    public void setUpdateurl(String updateurl) {
        this.updateurl = updateurl;
    }

    public String getUpdateurl() {
        return updateurl;
    }

    public void setApkurl(String apkurl) {
        this.apkurl = apkurl;
    }

    public String getApkurl() {
        return apkurl;
    }

    public void setCheckhour(Long checkhour) {
        this.checkhour = checkhour;
    }

    public Long getCheckhour() {
        return checkhour;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    public Integer getChannel() {
        return channel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("apkversion", getApkversion())
                .append("compel", getCompel())
                .append("updatecontent", getUpdatecontent())
                .append("updateurl", getUpdateurl())
                .append("apkurl", getApkurl())
                .append("checkhour", getCheckhour())
                .append("channel", getChannel())
                .toString();
    }
}
